[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
OUTS                   Output String (186/286/386) Flags: O D I T S Z A P C

OUTS DX, [segment register:]source

           Logic:          destination port . DS:SI
                           if DF = 0 then
                               SI . SI + Delta
                           else
                               SI . SI - Delta

     This instruction sends data from a string to a port. The source string is
     pointed to by DS:SI, and the size of each element in the string is
     indicated by the size of source. ES:DI must point to the string even
     though source is given in the instruction.

     The output port number must be in DX. If the direction flag is set, DI is
     decremented. If it is not set, DI is incremented.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   OUTS  DX, memory           5 (286)      -        1    OUTS DX, DSTRING
  --------------------------------------------------------------------------

        Note:          This instruction is usually used with a REP
                       prefix. Load CX with the number of times to repeat
                       the instruction.

See Also: INS INSB INSW INSD OUTSB OUTSW OUTSD
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson